<?php
$data = array (
  17 => 
  array (
    'cat_id' => '17',
    'cat_name' => '稿件分类一',
    'measure_unit' => '',
    'parent_id' => '0',
    'is_show' => '1',
    'show_in_nav' => '0',
    'grade' => '0',
    'sort_order' => '50',
    'has_children' => '1',
    'goods_num' => 0,
    'level' => 0,
    'id' => '17',
    'name' => '稿件分类一',
  ),
  22 => 
  array (
    'cat_id' => '22',
    'cat_name' => 'sa fsd asd',
    'measure_unit' => '',
    'parent_id' => '17',
    'is_show' => '1',
    'show_in_nav' => '0',
    'grade' => '0',
    'sort_order' => '50',
    'has_children' => '1',
    'goods_num' => '10',
    'level' => 1,
    'id' => '22',
    'name' => 'sa fsd asd',
  ),
  21 => 
  array (
    'cat_id' => '21',
    'cat_name' => '稿件分类一 aa',
    'measure_unit' => '是富士达爱上',
    'parent_id' => '22',
    'is_show' => '1',
    'show_in_nav' => '0',
    'grade' => '0',
    'sort_order' => '50',
    'has_children' => '0',
    'goods_num' => '3',
    'level' => 2,
    'id' => '21',
    'name' => '稿件分类一 aa',
  ),
  16 => 
  array (
    'cat_id' => '16',
    'cat_name' => '大家好啊发生的',
    'measure_unit' => 'sfsafsf',
    'parent_id' => '0',
    'is_show' => '1',
    'show_in_nav' => '0',
    'grade' => '0',
    'sort_order' => '51',
    'has_children' => '0',
    'goods_num' => 0,
    'level' => 0,
    'id' => '16',
    'name' => '大家好啊发生的',
  ),
);
?>